# _*_ utf-8 _*_
# 武器类


class Weapon:
    """
        武器类
    """
    def __init__(self, weapon_id, weapon_name, weapon_attack, weapon_effective):
        self.__weapon_id__ = weapon_id
        self.__weapon_name__ = weapon_name
        self.__weapon_attack__ = weapon_attack
        self.__weapon_effective__ = weapon_effective

    def set_weapon_id(self, weapon_id):
        self.__weapon_id__ = weapon_id

    def get_weapon_id(self):
        return self.__weapon_id__

    def set_weapon_name(self, weapon_name):
        self.__weapon_name__ = weapon_name

    def get_weapon_name(self):
        return self.__weapon_name__

    def set_weapon_attack(self, attack):
        self.__weapon_attack__ = attack

    def get_weapon_attack(self):
        return self.__weapon_attack__

    def set_weapon_effective(self, effective):
        self.__weapon_effective__ = effective

    def get_weapon_effective(self):
        return self.__weapon_effective__


